import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
// 全选
export default async function a003(fd: IFeidaoAiBrowserComponent, args: { currentTarget: HTMLElement }) {
	const status = fd.data.node.querySelector<HTMLInputElement>('[data-feidao-actions="click:a003"]').checked;
	const boxs = fd.data.node.querySelectorAll('[name="ck"]');
	Array.from(boxs).forEach((a: HTMLInputElement) => {
		a.checked = status;
	});
}
